package main

import "fmt"

func main() {
	sum := 1
	//for sum < 1000 {
	//	sum += sum
	//}

	for sum = 1; sum < 1000; sum+=sum {

	}
	fmt.Println(sum)
}
// 1